package com.xmtlxx.system.domain.vo;

import com.xmtlxx.common.annotation.ExcelDictFormat;
import com.xmtlxx.common.convert.ExcelDictConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


/**
 * 节点经办人视图对象 sys_operator
 *
 * @author xmtlxx
 * @date 2022-04-24
 */
@Data
@ApiModel("节点经办人视图对象")
@ExcelIgnoreUnannotated
public class SysOperatorVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    @ExcelProperty(value = "主键id")
    @ApiModelProperty("主键id")
    private String opid;

    /**
     * 节点id
     */
    @ExcelProperty(value = "节点id")
    @ApiModelProperty("节点id")
    private String nid;

    /**
     * 经办id
     */
    @ExcelProperty(value = "经办id")
    @ApiModelProperty("经办id")
    private Long objid;

    /**
     * 类型：0-经办；1-转办
     */
    @ExcelProperty(value = "类型：0-经办；1-转办", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "handle_flag")
    @ApiModelProperty("类型：0-经办；1-转办")
    private String type;

    /**
     * 名称
     */
    @ExcelProperty(value = "名称")
    @ApiModelProperty("名称")
    private String name;


}
